package org.zcl.service.third;

import com.alibaba.fastjson.JSON;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.zcl.entity.dto.ThirdDto;
import org.zcl.entity.response.ChannelResponse;

/**
 * <p>
 * </p>
 *
 * @author Chenglin Zhu
 * @since 2022-08-03 16:36:53
 */
@Slf4j
@Service
public class ThirdPayImpl extends AbstractThirdPayService<ThirdDto> {

    @Override
    protected ChannelResponse<String> doApplyPay(ThirdDto payDto) {
        log.info("调用三方请求参数:{}", JSON.toJSONString(payDto));
        ChannelResponse<String> response = new ChannelResponse<>();
        response.setCode("success");
        response.setT("third");
        return response;
    }

}
